home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 1996 May / cd joy 71No13.iso / pc / demos / eurosoc / source / sosdefs.h < prev    next >
Text File  |  1996-01-31  |  2KB  |  79 lines

  1. /****************************************************************************
  2.  
  3.    File              : sosdefs.h
  4.  
  5.    Programmer(s)     : Don Fowler, Nick Skrepetos
  6.    Date              :
  7.  
  8.    Purpose           : 
  9.  
  10.    Last Updated      :
  11.  
  12. ****************************************************************************
  13.                Copyright(c) 1993,1994 Human Machine Interfaces 
  14.                             All Rights Reserved
  15. ****************************************************************************/
  16.  
  17.  
  18. #ifndef  _SOSDEFS_DEFINED
  19. #define  _SOSDEFS_DEFINED
  20.  
  21. #undef   _TRUE
  22. #undef   _FALSE
  23. #undef   TRUE
  24. #undef   FALSE
  25. #undef   _NULL
  26. enum  
  27.       { 
  28.          _FALSE, 
  29.          _TRUE 
  30.       };
  31.  
  32. enum  
  33.       { 
  34.          FALSE, 
  35.          TRUE 
  36.       };
  37.  
  38. #define  _NULL  0
  39.  
  40. #ifndef  VOID
  41. #define  VOID           void
  42. #endif
  43. typedef  int            BOOL;
  44. typedef  unsigned int   UINT;
  45. typedef  unsigned char  BYTE;
  46. //typedef  unsigned short WORD;                //New net/SOS 4.0 definition
  47. typedef  unsigned  WORD;
  48.  
  49. typedef  unsigned int   W32;
  50. typedef  unsigned short W16;
  51. #ifndef  LONG
  52. typedef  signed long    LONG;
  53. #endif
  54. typedef  unsigned long  DWORD;
  55.  
  56. typedef  BYTE  *        PBYTE;
  57. typedef  char near *    PSTR;
  58. typedef  WORD  *        PWORD;
  59. typedef  unsigned short  * PSHORT;
  60. typedef  LONG  *        PLONG;
  61. typedef  VOID  *        PVOID;
  62.  
  63. typedef  BYTE  far   *  LPBYTE;
  64. typedef  BYTE  far   *  LPSTR;
  65. typedef  WORD  far   *  LPWORD;
  66. typedef  W32   far   *  LPW32;
  67. typedef  LONG  far   *  LPLONG;
  68. typedef  VOID  far   *  LPVOID;
  69.  
  70. typedef  BYTE  huge  *  HPBYTE;
  71. typedef  BYTE  huge  *  HPSTR;
  72. typedef  LONG  huge  *  HPLONG;
  73. typedef  VOID  huge  *  HPVOID;
  74.  
  75. typedef  unsigned       HANDLE;
  76.  
  77. #endif
  78. 
  79.